package cn.iocoder.yudao.module.agent.convert.brokerageclue;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.agent.controller.admin.brokerageclue.vo.*;
import cn.iocoder.yudao.module.agent.dal.dataobject.brokerageclue.AgentBrokerageClueDO;

/**
 * 代理人分销用户线索 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface AgentBrokerageClueConvert {

    AgentBrokerageClueConvert INSTANCE = Mappers.getMapper(AgentBrokerageClueConvert.class);

    AgentBrokerageClueDO convert(AgentBrokerageClueCreateReqVO bean);

    AgentBrokerageClueDO convert(AgentBrokerageClueUpdateReqVO bean);

    AgentBrokerageClueRespVO convert(AgentBrokerageClueDO bean);

    List<AgentBrokerageClueRespVO> convertList(List<AgentBrokerageClueDO> list);

    PageResult<AgentBrokerageClueRespVO> convertPage(PageResult<AgentBrokerageClueDO> page);

    List<AgentBrokerageClueExcelVO> convertList02(List<AgentBrokerageClueDO> list);

}
